package business;

import java.util.List;

import vo.User;

public interface UserService {

	List<User> getAllUsers();

	User getByUsernamePSW(String username, String psw);

	List<User> getAllUsers(int start, int pageSize);

	long getTotalCount();

	void addUser(String name);

	void addUser(User user);

	User getById(long id);

	User getByName(String name);

	User getByLoginName(String name);

	void update(long id);

	void delete(long id);

}
